function aliyunLink(id) {
  return `https://help.aliyun.com/document_detail/${id}.html`;
}

// function thoughtsLink(id) {
//   return `https://thoughts.teambition.com/sharespace/5d88b152037db60015203fd3/docs/${id}`;
// }
function vpcLink(id) {
  return `/doc/help/Codeup/${id}.html`;
}

export default [
  { id: 'fileWhitelistRules', link: aliyunLink(206901) },
  { id: 'accessTokenGenerated', link: aliyunLink(153789) },
  { id: 'sshKeyConfiguration', link: aliyunLink(153709) },
  { id: 'deploymentKey', link: aliyunLink(153876) },
  { id: 'securityRiskControl', link: aliyunLink(153808) },
  { id: 'sensitiveInformationDetection', link: aliyunLink(153724) },
  { id: 'dependencyPackageVulnerabilityDetection', link: aliyunLink(206905) },
  { id: 'scanJavaCodeSpecifications', link: aliyunLink(153725) },
  { id: 'recommendedCodePatches', link: aliyunLink(206907) },
  { id: 'gitTeachingQuickStart', link: aliyunLink(153802) },
  { id: 'branchSettings', link: aliyunLink(153873) },
  { id: 'codeownerMachineMade', link: 'https://help.aliyun.com/document_detail/153877.htm' },
  { id: 'estimatedReviewTime', link: aliyunLink(206828) },
  { id: 'recommendedByReviewer', link: aliyunLink(206923) },
  { id: 'mergeRequestSettings', link: aliyunLink(153874) },
  { id: 'welcomeToCodeup', link: aliyunLink(153784) },
  { id: 'updateLogs', link: aliyunLink(214259) },
  { id: 'solution', link: aliyunLink(224578) },
  { id: 'codeSubmission', link: aliyunLink(153708) },
  { id: 'codeReview', link: aliyunLink(206897) },
  { id: 'securityScan', link: aliyunLink(206898) },
  { id: 'knowledgeBase', link: aliyunLink(153870) },
  { id: 'securityCommitment', link: aliyunLink(153786) },
  { id: 'associatedFolder', link: aliyunLink(153793) },
  { id: 'howToAssociateAPipeline', link: aliyunLink(206834) },
  { id: 'storageCapacity', link: aliyunLink(153791) },
  { id: 'getFlowIp', link: aliyunLink(202363) },
  { id: 'synchronizationAdministrator', link: aliyunLink(153717) },
  { id: 'cherry-pick', link: aliyunLink(206911) },
  { id: 'revert', link: aliyunLink(206913) },
  { id: 'agit-flow', link: aliyunLink(159666) },
  { id: 'svn-import', link: aliyunLink(153706) },
  { id: 'insight-mr', link: aliyunLink(224584) },
  { id: 'insight', link: aliyunLink(206896) },
  { id: 'lfs', link: aliyunLink(206887) },
  { id: 'lfs-delete', link: aliyunLink(206842) },
  { id: 'insight-delay', link: aliyunLink(206844) },
  { id: 'trash', link: aliyunLink(206924) },
  { id: 'lsif', link: aliyunLink(217551) },
  { id: 'commit-check-org', link: aliyunLink(153714) },
  { id: 'commit-check-repo', link: aliyunLink(217550) },
  { id: 'gpg', link: aliyunLink(206892) },
  { id: 'create_repo_with_service', link: aliyunLink(206841) },
  { id: 'log-limit', link: 'https://drcloud.aliyun.com/home' },
  { id: 'org-sensitive-info', link: aliyunLink(206899) },
  { id: 'member-name', link: aliyunLink(206848) },
  {
    id: 'clone-download-control',
    link: 'https://selfservice.console.aliyun.com/ticket/category/rdc/today',
  },
  {
    id: 'submit-work-order',
    link: 'https://selfservice.console.aliyun.com/ticket/category/rdc/today',
  },
  { id: 'risk-score-rule', link: aliyunLink(206886) },
  { id: 'pinpoint', link: aliyunLink(217553) },
  { id: 'backup', link: aliyunLink(217005) },
  {
    id: 'prehook-org',
    link: 'https://thoughts.alibaba-inc.com/workspaces/5cb549dabe825b5081dfdf1b/docs/5ff570405d9d5052957c08fb',
  },
  {
    id: 'third-confirm',
    link: `http://yunxiao-devops.aliyun.test${vpcLink(
      '%E5%8A%9F%E8%83%BD%E4%BB%8B%E7%BB%8D/%E6%8E%A8%E9%80%81%E8%A7%84%E5%88%99-%E4%B8%89%E6%96%B9%E7%B3%BB%E7%BB%9F%E9%AA%8C%E8%AF%81',
    )}`,
  },
  { id: 'crypto', link: aliyunLink(217008) },
  { id: 'invalid session', link: aliyunLink(181559) },
  { id: 'oss', link: 'https://cn.aliyun.com/price/detail/oss' },
  { id: 'backup-rules', link: aliyunLink(217006) },
  { id: 'howCanCodeContributionsBe', link: aliyunLink(217003) },
  { id: 'whatIsTheWhitelistOf', link: aliyunLink(217004) },
  { id: 'largeFileStorageService', link: aliyunLink(206888) },
  { id: 'codeLibraryCapacityManagement', link: aliyunLink(153791) },
  { id: 'automaticRepair', link: aliyunLink(260885) },
  { id: 'howToUsePipelineDetection', link: aliyunLink(260886) },
  { id: 'importTool', link: aliyunLink(271761) },
  { id: 'warehouseSynchronization', link: aliyunLink(289096) },
  { id: 'sls-serve-help', link: aliyunLink(217007) },
  { id: 'sls-serve-cost', link: aliyunLink(48220) },
  { id: 'mirror_sync_more', link: aliyunLink(289096) },
  { id: 'water_mark_link', link: aliyunLink(310933) },
  { id: 'water_mark_token', link: aliyunLink(289096) },
  { id: 'water_mark_access_token', link: aliyunLink(289096) },
  { id: 'configuration_file_writing', link: aliyunLink(271761) },
  {
    id: 'import_locally_tool_download',
    link: aliyunLink(271761),
  },
  {
    id: 'import_locally_tool_download_href',
    link: 'https://help.aliyun.com/document_detail/271761.html#title-8pu-9pe-k70',
  },
  { id: 'import_locally_token', link: aliyunLink(153789) },
  {
    id: 'import_locally_personal_token',
    link: 'https://help.aliyun.com/document_detail/271761.html#title-ds1-cet-f5d',
  },
  {
    id: 'import_locally_file_writing',
    link: 'https://help.aliyun.com/document_detail/271761.html#title-ib7-q8d-vby',
  },
  { id: 'gitlab_network_error', link: aliyunLink(258242) },
  { id: 'mr_intro', link: aliyunLink(153872) },
];
